#include <iostream>
#include <vector>
#include <algorithm>
#include <cstring>
#include <cmath>
using namespace std;
const int N=1e5+9;
double a,b,c,d;
double fx(double x)
{
	return a*x*x*x+b*x*x+c*x+d;
}
double bin(double left,double right)
{
	double l=left,r=right;
	while(r-l>1e-3)
	{
		double mid=(l+r)/2;
		if(fx(l)*fx(mid)<=0)r=mid;
		else l=mid;
	}
	return r;
}
int main()
{
	//3ax2 + 2bx +c=0
	cin>>a>>b>>c>>d;
	int l=-101,r=101;
	double delta=4*b*b-4*3*a*c;
	double x1=(-2*b+sqrt(delta))/(2*3*a);
	double x2=(-2*b-sqrt(delta))/(2*3*a);
	printf("%.2f %.2f %.2f",bin(l,x2),bin(x2,x1),bin(x1,r));
	
	return 0;
}
